package com.zhang.test_zhang.entity;

import java.io.Serializable;
import lombok.Data;

/**
 * shopping_cart
 * @author
 *
 * CREATE TABLE `shopping_cart` (
 *   `id` int NOT NULL COMMENT '购物车主键id',
 *   `user_id` int DEFAULT NULL COMMENT '用户id',
 *   `trade_id` int DEFAULT NULL COMMENT '商品id',
 *   PRIMARY KEY (`id`)
 * ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
 */
@Data
public class ShoppingCart implements Serializable {
    /**
     * 购物车主键id
     */
    private Integer id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 商品id
     */
    private String tradeId;

    private static final long serialVersionUID = 1L;
}